package com.kefu.z.intermediator;

import java.util.HashMap;
import java.util.Map;

public class Mine {
	String username;
	String id;
	String status="online";
	String avatar;
	String sign;
	String type;//用户类型  system/user
	String nickName;
	
	String sessionId;
	
	
	
	public String getSessionId() {
		return sessionId;
	}
	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	/*客服端*/
	Map<String, Mine> Customer=new HashMap<String, Mine>();
	
	public void addCustomer(String key,Mine user){
		if(this.Customer!=null){
			this.Customer.put(key, user);
		}else{
			this.Customer=new HashMap<String, Mine>();
			this.Customer.put(key, user);
		}
	}
	
	/*客户端*/
	String system_session_id;
	Mine system;
	
	
	
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getSystem_session_id() {
		return system_session_id;
	}
	public void setSystem_session_id(String system_session_id) {
		this.system_session_id = system_session_id;
	}
	public Mine getSystem() {
		return system;
	}
	public void setSystem(Mine system) {
		this.system = system;
	}
	public Map<String, Mine> getCustomer() {
		return Customer;
	}
	public void setCustomer(Map<String, Mine> customer) {
		Customer = customer;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getAvatar() {
		return avatar;
	}
	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}
	public String getSign() {
		return sign;
	}
	public void setSign(String sign) {
		this.sign = sign;
	}
	
}
